package com.zking.entity;

import lombok.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by 刘庆文 on 2022-2022-7-7, project: springboot.
 * <p>
 * Author: 刘庆文
 * Create Date: 2022-7-7
 * Project: com.zking.entity in project: springboot
 * <p>
 * Notice: If you are using this class or file, check it and do some modification.
 */
@Getter @Setter @ToString
@AllArgsConstructor @NoArgsConstructor
@Entity @Table(name = "country_state_city")
public class Address {
    @Id
    private Integer id;
    @Column(name = "pid")
    private Integer parentId;
    private Integer deep;
    
    private String name;
    @Column(name = "pinyin_prefix")
    private String pinyinPrefix;
    private String pinyin;
    @Column(name = "ext_id")
    private String extId;
    @Column(name = "ext_name")
    private String extName;
}
